QT       += core gui
QT       += bluetooth
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    BleDevice.cpp \
    cfdl_file.cpp \
    cfdl_login.cpp \
    cfdl_ptl_impl.cpp \
    comm_impl.cpp \
    dev_ptl_model.cpp \
    main.cpp \
    mainwindow.cpp \
    ufw_protocol.cpp

HEADERS += \
    BleDevice.h \
    cfdl_file.h \
    cfdl_login.h \
    cfdl_ptl_impl.h \
    cfdl_ptl_type.h \
    comm_impl.h \
    dev_ptl_model.h \
    factory_model.h \
    mainwindow.h \
    ufw_protocol.h

FORMS += \
    mainwindow.ui

win32:RC_ICONS = icon/demo.ico

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target


win32:CONFIG(release, debug|release): LIBS += -LD:/OpenCV4.8.0/opencv/build/x64/vc16/lib/ -lopencv_world480
else:win32:CONFIG(debug, debug|release): LIBS += -LD:/OpenCV4.8.0/opencv/build/x64/vc16/lib/ -lopencv_world480d

INCLUDEPATH += D:/OpenCV4.8.0/opencv/build/include
INCLUDEPATH += D:/OpenCV4.8.0/opencv/build/include/opencv2
DEPENDPATH += D:/OpenCV4.8.0/opencv/build/x64/vc16
